public class Test {
    public static void main(String[] args) {
        My_TreeNode tree = new My_TreeNode();
        My_TreeNode.TreeNode root = tree.createTree();
        tree.preOrder(root);
        System.out.println();
        tree.preOrder1(root);
        tree.inorder(root);
        System.out.println();
        tree.inorder1(root);
        System.out.println();
        tree.lastOrder(root);
        System.out.println();
     tree.lastOrder1(root);
        System.out.println();
     tree.sequence(root);
        System.out.println(tree.findHeight(root));
        System.out.println(tree.getLevelNodeCount(root, 3));
        System.out.println(tree.getLeafNode(root));

    }
}
